package com.gxa.admin.oss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <h3>travel</h3>
 * <p></p>
 *
 * @author : ch
 * @date : 2024-03-11 20:37
 **/

@Data
@Component
@ConfigurationProperties(prefix = "storage.config")
public class StorageConfig {

    /**
     * tencent-bucket-name:travel-1300772879
     *     tencent-secret-id:AKIDa5QZXMVTGxVxHUYRHvOlwueCZkhR1Ris
     *     tencent-secret-key:86vZ5QZVFrJau693pTH2jHe5fKarwqaK
     *     tencent-region:ap-chengdu
     *     tencent-url
     */

    private Integer type;//1 腾讯云  2阿里云
    private String tencentBucketName;
    private String tencentSecretId;
    private String tencentSecretKey;
    private String tencentRegion;
    private String tencentUrl;
    private String tencentPrefix;


}
